<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui">
    <head>
        <title>ELIMINAR LIBRO</title>
        <meta name="viewport" content="width=device-width"/>
        <link type="text/css" rel="stylesheet" href="./primefaces-swanky-purse/theme.css"/>
    </head>
    <h:form>
            <h:panelGrid columns="2" cellpadding="5">
                <p:outputLabel for="IdLibro" value="IDENTIFICADOR DEL LIBRO: " />
                <p:inputMask id="IdLibro" value="#{libro.idLibro}" mask="999"/>

                <p:commandButton value="Borrar" update="display" actionListener="#{eliminar.borrarDatos(libro)}" oncomplete="PF('dlg').show()"/>
            </h:panelGrid>

            <p:dialog widgetVar="dlg" modal="true" resizable="false" header="" showEffect="fade">
                <p:panelGrid id="display" columns="2" columnClasses="label,value">
                   
                </p:panelGrid>
            </p:dialog>
        </h:form>
</html>
